package com.chrray.position.pojo.dto.web;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.chrray.position.domain.SysArea;
import com.chrray.position.enums.YesNoEnum;
import com.chrray.position.enums.app.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 工作岗位表 对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */

@Data
@ApiModel(description = "FdJobPostingsImportDto")
public class FdJobPostingsImportDto implements Serializable {



	@ApiModelProperty(value = "工种名称")
    @Excel(name = "*工种名称" ,width = 40)
    private String jobName;


    @ApiModelProperty(value = "计算方式：1-计时 CALC_TIME,2-计件 CALC_PIECE")
    @Excel(name = "*计算方式" ,width = 40)
    private String calcMethodDesc;

	@ApiModelProperty(value = "报酬单价：元")
    @Excel(name = "*报酬（元）" ,width = 40)
	private BigDecimal salaryPrice;

    @ApiModelProperty(value = "职位性质：1-短期,2-长期,3-新农人")
    @Excel(name = "*工作类型" ,width = 40)
    private String jobTypeDesc;



	@ApiModelProperty(value = "工作内容")
    @Excel(name = "*工作内容" ,width = 40)
    private String workContent;


	@ApiModelProperty(value = "人数")
    @Excel(name = "*招聘人数" ,width = 40)
    private Integer numberOfWorkers;



    @ApiModelProperty(value = "性别：1-男,2-女,3-不限")
    @Excel(name = "*性别" ,width = 40)
    private String genderDsec;

    @ApiModelProperty(value = "是否需要专业经验,0-不需要NO,1-需要YES")
    @Excel(name = "是否需要专业经验" ,width = 40)
    private String requiresExperienceDesc;

	@ApiModelProperty(value = "联系人姓名")
    @Excel(name = "*联系人" ,width = 40)
    private String contactName;

	@ApiModelProperty(value = "联系人手机号")
    @Excel(name = "*联系电话" ,width = 40)
    private String contactPhone;

	@ApiModelProperty(value = "发布人,个人/企业名称,或后台填写")
    @Excel(name = "*职位发布人" ,width = 40)
    private String publishBy;


    @ApiModelProperty(value = "是否新农人，0否1是")
    @Excel(name = "*是否新农人" ,width = 40)
    private String isNewPeasantDesc;

/*

    @ApiModelProperty(value = "发布人id")
    private Long userId;

    @ApiModelProperty(value = "乡镇（新农人）")
    private String township;

    @ApiModelProperty(value = "工种类目：关联职位菜单")
    private Long jobCategory;

    @ApiModelProperty(value = "计算方式：1-计时 CALC_TIME,2-计件 CALC_PIECE")
    private Integer calcMethod;

    @ApiModelProperty(value = "报酬单位：1-小时,2-天,3-月    HOUR(1, \"小时\"),\n" +
            "    DAY(2, \"天\"),\n" +
            "    MONTH(3, \"月\")\n" +
            "\n" +
            "    // 计件时\n" +
            "    ,TIMES(11, \"次\")\n" +
            "    ,PIECE(12, \"个\")\n" +
            "    ,SQUARE(13, \"平方\")\n" +
            "    ,METER(14, \"米\")\n" +
            "    ,SET(15, \"套\")\n" +
            "    ,CAR(16, \"车\")\n" +
            "    ,ROOT(17, \"根\")")
    private Integer salaryUnit;

    @ApiModelProperty(value = "职位性质：1-短期,2-长期,3-新农人")
    private Integer jobType;


    @ApiModelProperty(value = "长期-工作日期,手动输入")
    private String longTermWokeDate;

    @ApiModelProperty(value = "短期-工作日期开始：年月日")
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date workDateStart;

    @ApiModelProperty(value = "短期-工作日期结束：年月日")
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date workDateEnd;

    @ApiModelProperty(value = "工作时段开始：HH:mm")
    private String workTimeStart;

    @ApiModelProperty(value = "工作时段结束：HH:mm")
    private String workTimeEnd;

    @ApiModelProperty(value = "工作地址")
    private String workAddress;

    @ApiModelProperty(value = "工作地址详细")
    private String workAddressDetail;

    @ApiModelProperty(value = "工作地址,经度")
    private Double lat;

    @ApiModelProperty(value = "工作地址,纬度")
    private Double lon;

    @ApiModelProperty(value = "工作地址行政区")
    private String districtId;

    @ApiModelProperty(value = "工作地址行名称")
    private String districtName;

    @ApiModelProperty(value = "相关照片")
    private String relatedImges;
    @ApiModelProperty(value = "性别：1-男,2-女,3-不限")
    private Integer gender;


    @ApiModelProperty(value = "年龄开始,岁")
    private Integer ageStart;

    @ApiModelProperty(value = "年龄结束,岁")
    private Integer ageEnd;

    @ApiModelProperty(value = "身高开始,厘米")
    private Integer heightStart;

    @ApiModelProperty(value = "身高结束,厘米")
    private Integer heightEnd;

    @ApiModelProperty(value = "是否需要专业经验,0-不需要NO,1-需要YES")
    private Integer requiresExperience;

    @ApiModelProperty(value = "状态：0-待审核／-1 驳回／1-进行中／2-已完成／3-已结束    PENDING(0, \"待审核\"),\n" +
            "    REJECTED(-1, \"驳回\"),\n" +
            "\n" +
            "    // 匹配中,小程序原型图没有这个状态\n" +
            "    MATCHING(5,\"匹配中\"),\n" +
            "\n" +
            "    IN_PROGRESS(1, \"进行中\"),\n" +
            "\n" +
            "    COMPLETED(2, \"已完成\"),\n" +
            "\n" +
            "    // 已结束,小程序原型图没有这个状态\n" +
            "    FINISHED(3, \"已结束\"),\n" +
            "    // 已下架,小程序原型图没有这个状态\n" +
            "    OFF_SHELF(4, \"已下架\"),")
    private Integer status;

    @ApiModelProperty(value = "是否管理员发布：0-否,1-是")
    private Integer adminPublished;

    @ApiModelProperty(value = "发布时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date publishTime;

    @ApiModelProperty(value = "发布类型：0-个人发布,1-企业发布")
    private Integer publishType;

    private Integer delFlag;



    @ApiModelProperty(value = "状态：0-待审核／1-成功／2-失败")
    private Integer checkStatus;
    @ApiModelProperty(value = "审核详情/")
    private String checkDetail;


    @ApiModelProperty(value = "是否新农人，0否1是")
    private Integer isNewPeasant;*/
}
